<?php
/**
 * Created by PhpStorm.
 * User: hjl
 * Date: 2016/8/24
 * Time: 14:29
 */

namespace Api\Controller;

use Think\Controller;

//定义api接口返回格式
define('ApiReturn', 'json');

//定义userToken有效期3天
define('UserTokenExpireTime', 3*24*60*60*1000);

class AppController extends Controller
{
    public function _initialize()
    {
    }

    // 验证用户token
    protected function checkUserToken($userToken)
    {

    }
}